//
//  WDTabBarController.h
//  winterTest
//
//  Created by wd on 15/10/26.
//  Copyright © 2015年 wd ,Ltd. All rights reserved.
//

@import Foundation;

static NSString *const WDTabBarItemTitle = @"tabBarItemTitle";
static NSString *const WDTabBarItemImage =  @"tabBarItemImage";
static NSString *const WDTabBarItemSelectedImage =  @"tabBarItemSelectedImage";

extern NSUInteger WDTabBarItemsCount;

#import <UIKit/UIKit.h>

@interface WDTabBarController : UITabBarController

/**
 *  viewController array
 */
@property (nonatomic, readwrite, copy) IBOutletCollection(UIViewController) NSArray *viewControllers;

/**
 *  显示在那个 tab bar item 的 Attributes
 */
@property (nonatomic, readwrite, copy) IBOutletCollection(NSDictionary) NSArray *tabBarItemsAttrobutes;

@end

@interface UIViewController (WDTabBarControllerItem)

@property (nonatomic, readonly) WDTabBarController *wd_tabBarController;

@end
